#include<io.h>
#include<clocale>
#include<cwchar>
#include<fcntl.h> 

#ifndef TDEF_H_
#define TDEF_H_

#define GOOD_COUNT 9
#define TOWN_COUNT 11
#define TOWNAI_COUNT 31
#define AI_TOTAL_COUNT (11*31)
#define NAME_COUNT 40
#define TOWNLENDER_COUNT 5
#define LENDER_TOTAL_COUNT (11*5)

#define TOTAL_COUNT (AI_TOTAL_COUNT+LENDER_TOTAL_COUNT)

#define NO_EVENT 0
#define BUY_FAKE 1
#define BUY_BARG 2
#define TRIP_RAIN_SAFE 1
#define TRIP_RAIN_NSAFE 2

#define LARGE_NUM ((double)(1LL<<62))

void gccwchar_set(){
	setlocale(LC_ALL, "");
    fflush(stdout);
    _setmode(_fileno(stdout), _O_WTEXT);
    return;
}

#endif  // TDEF_H_ 
